package com.proton.carepatchtemp.utils;

import org.jivesoftware.smack.packet.Message;

public class XmppUtils {
    public static String getUidFromMsg(Message message) {
        String fullname = message.getFrom().toString().substring(4);
        int off = fullname.indexOf("@");
        return fullname.substring(0, off);
    }
}
